import store from '@/store'
export const checkPerMinXin = {
  methods: {
    checkPerm(pointName) {
      return store.state.user.userInfo.roles && store.state.user.userInfo.roles.points.includes(pointName)
    }
  }
}
